package tute;


import cartas.Naipe;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import cartas.mazo;

/**
 *
 * @author robertorosas
 */

public class GameState {
	
	
    
    
    /*
     *  GameState constructor 
     * 
     */ 
    public GameState(mazo Deck,mazo Hand, int depth, Naipe vida , boolean turn ){
		
		this.Deck=Deck;
                this.depth=depth;
                this.vida=vida;
                this.turn=turn;
                this.Hand=Hand;
		
	}
	
	
/*
 *  Returns state vida
 * 
 */ 	
 public Naipe getVida(){
     
     return this.vida;
 }	

 
 /*
  * Returns state depth
  */ 
 public int getDepth(){
     return this.depth;
     
 }

 /*
  * Returns state turn
  */ 
 public boolean getTurn(){
     
     return this.turn;
 }
 
 /*
  * Returns state remaining Deck 
  * 
  */
 
 
 public mazo getDeck(){
     
     return this.Deck;
 }
 public mazo getHand(){
     return this.Hand;
     
 }
	
 public void setDeck(mazo theDeck ){
     
     this.Deck= theDeck;
     
 }

 
 public void setVida(Naipe theVida){
     
     this.vida= theVida;
 }
 
 public void setTurn(boolean theTurn){
     
     this.turn = theTurn;
 }
 
 public void setDepth(int theDepth){
     
     this.depth=theDepth;
 }
 public void setHand(mazo theHand){
     this.Hand= theHand;
     
 }
 
        // private fields 
	
	private mazo Deck;
        private mazo Hand;
        private int depth;
        private Naipe vida;
        private boolean turn;
                
	
	

}
